<input name="{$idStr}" id="{$idStr}" <if condition="$selectId eq 1">checked</if> lay-skin="switch" lay-filter="{$idStr}" lay-text="{$textStr}" type="checkbox">